.income {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box-income {
  width: 100%;
  height: auto;
  min-height: 150px;
  background: url("../../../../../assets/static/income-bg.png") no-repeat;
  background-size: 100% 100%;
  padding: 16px 28px;
  display: flex;
  align-content: space-between;
}

.box-income .income-main {
  width: 100%;
  height: 116px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.box-income .income-main .income-name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.box-income .income-main .income-value {
  font-size: 24px;
  font-weight: 600;
  color: white;
}

.box-income .income-main .active-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #2b4fbe;
  font-size: 24px;
  opacity: 1;
  border-radius: 20px 0px 20px 0px;
  background: white;
  box-sizing: border-box;
  right: 0;
  bottom: 0;
  z-index: 1;
  animation: borderAnimation 2s linear infinite;
}

@media screen and (max-width: 500px) {
  .box-income .income-main .income-name {
    font-size: 10px;
  }
  .box-income .income-main .income-value {
    font-size: 10px;
  }
  .box-income .income-main .active-icon {
    width: 16px;
    height: 16px;
    font-size: 14px;
  }
  .box-income .income-main .income-main {
    height: 50px;
  }
}

@media screen and (min-width: 501px) and (max-width: 768px) {
  .box-income .income-main .income-name {
    font-size: 12px;
  }
  .box-income .income-main .income-value {
    font-size: 12px;
  }
  .box-income .income-main .active-icon {
    width: 24px;
    height: 24px;
    font-size: 18px;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .box-income .income-main .income-name {
    font-size: 12px;
  }
  .box-income .income-main .income-value {
    font-size: 16px;
  }
  .box-income .income-main .active-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

@media screen and (min-width: 993px) and (max-width: 1300px) {
  .box-income .income-main .income-name {
    font-size: 14px;
  }
  .box-income .income-main .income-value {
    font-size: 18px;
  }
  .box-income .income-main .active-icon {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
}

.box-income .income-active {
  position: relative;
  background: #2b4fbe;
  border: 1px solid #2b4fbe;
}

@media screen and (min-width: 769px) {
  .box-income .income-main:nth-child(3n + 1) {
    margin-left: 0;
  }
}

@media screen and (max-width: 769px) {
  .box-income .income-main:nth-child(2n + 1) {
    margin-left: 0;
  }
}

@media screen and (max-width: 991.5px) {
  .box-income {
    margin-top: 30px;
  }
}

.income-statistics {
  width: 100%;
  height: auto;
  min-height: 150px;
  margin-top: 20px;
  border-radius: 24px;
  background: #2c2559;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px;
}

.income-statistics ::v-deep .el-col {
  padding: 0 !important;
}

.income-statistics .statistics-main {
  border: 1px solid #19143d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  box-sizing: border-box;
  border-collapse: collapse;
}

.income-statistics .statistics-main .statistics-name {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.income-statistics .statistics-main .statistics-value {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.income-statistics .cell:nth-child(21),
.income-statistics .cell:nth-child(22),
.income-statistics .cell:nth-child(23),
.income-statistics .cell:nth-child(24) {
  display: none;
}

@media screen and (max-width: 768px) {
  .box-income {
    flex-wrap: wrap;
  }
  .box-income .income-main {
    margin: 16px 0;
  }
  .income-statistics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
  }
  .statistics-main .statistics-name {
    font-size: 12px;
  }
  .statistics-main .statistics-value {
    font-size: 12px;
  }
}
